//
//  SHBAVPlayerView.h
//  AVPlayerViewController_Demo
//
//  Created by 沈红榜 on 15/12/22.
//  Copyright © 2015年 沈红榜. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AVKit/AVKit.h>

@interface SHBAVPlayerView : UIView

@property(nonatomic,strong)AVPlayer *player;
@property(nonatomic,strong)AVPlayerViewController *playerController;
@property(nonatomic) BOOL isPauseOrNot;

- (id)initWithFrame:(CGRect)frame url:(NSString *)url;

//-(id)initWithMusicPath:(NSString *)pathString;
//-(id)initWithMoviePath:(NSString *)pathString;
- (id)initWithLocalMediaPath:(NSString *)pathString;
- (void)play;
-(void)pause;

@end
